package com.jh.constructor;

public class XYMain 
{
	public static void main(String[] args) 
	{
		System.out.println("XY z1 = new XY(5,10)");
		XY z1 = new XY(5, 10);
		System.out.println(z1);
		
		System.out.println("XY z2 = new XY(-5,10)");
		XY z2 = new XY(-5, 10);
		System.out.println(z2);
		
		System.out.println("XYExtra.add(z1, z2)");
		XY addXY = XYExtra.add(z1, z2);
		System.out.println(addXY);
	}

}
